package com.xltq.conformity.service;

import com.github.pagehelper.PageInfo;
import com.xltq.conformity.entity.AdminUser;
import com.xltq.conformity.vo.PageVo;
import com.xltq.conformity.vo.TableVo;

import java.util.List;

/**
 * @author 王权富贵
 */
public interface AdminUserService {
    /**
     * 根据用户名进行查询
     * @param username 用户名
     * @return 一条查询到的数据
     */
    AdminUser selectByOne(String username);

    /**
     *
     * @param pageVo
     * @param adminUser
     * @return
     */
    PageInfo<AdminUser> queryAll(PageVo<AdminUser> pageVo,AdminUser adminUser);

    Boolean del(Integer[] ids);

    Boolean add(AdminUser adminUser);

    Boolean update(AdminUser adminUser);
}
